<template>
    <div>
        <button @click="showName">学生姓名:{{name}}</button>
        <h4>学生年龄:{{age}}</h4>
    </div>
</template>

<script>
    // 局部引入
    //import {mixin, mixin2} from '../mixin'

    export default {
        name : 'Student',
        data(){
            return {
                name:'zw',
                age:18,
            }
        },
        //mixins:[mixin,mixin2]
    };


</script>
